<?php
session_start();

if(!isset($_SESSION["nickname"]))
   {
   	include ("../loggedout/header.php");
   echo "Войдите в систему!";
   include ("../loggedout/footer.php");
   exit;
   } 

include ("header.php");
include ("../db/dbcontroller.php");



   
   echo "Вы зашли под именем ".$_SESSION["nickname"]." !";
   
include ("footer.php");